<!DOCTYPE html>
<html>
<%set string category_title=get_category_title(category_id,"帮助")%>
<head>
    <title>{category_title}</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="Keywords" content="首都师范大学,首师大" />
    <meta name="baidu-site-verification" content="cNitg6enc2">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="renderer" content="webkit">
    <meta name="robots" content="index,follow" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1" />
    <link rel="stylesheet" href="<%templateskin%>/lib/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="<%templateskin%>/css/font-awesome.min.css">
    <link type="text/css" href="<%templateskin%>/css/common_style.css" rel="stylesheet">
    <link rel="stylesheet" href="<%templateskin%>/css/style.min.css">
    <link rel="stylesheet" href="<%templateskin%>/css/style.css">
    <!--[if lt IE 9]>
	      <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
	      <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
	 <![endif]-->
</head>

<body>
    <div class="topbar">
        <div class="container">
            <div class="nav-right">
                <ul class="topnav">
                    <li><a href="<%linkurl("index")%>">首页</a></li>
                    <li><a href="<%linkurl("news")%>">新闻资讯</a></li>
                    <li><a href="<%linkurl("resource")%>">资源概览</a></li>
                    <li><a href="<%linkurl("services")%>">读者服务</a></li>
                    <li><a href="<%linkurl("library")%>">本馆概况</a></li>
                    <li><a href="<%linkurl("help")%>"  class="active">帮助</a></li>
                </ul>
            </div>
        </div>
    </div>
    <div class="container mt20">
        <div class="row">
            <div class="col-sm-3 zk_left">
                <nav class="navbar-default navbar-static-side" role="navigation">
                    <div class="nav-close"><i class="fa fa-times-circle"></i>
                    </div>
                    <div class="sidebar-collapse">
                        <ul class="nav" id="side-menu">
                            <%set DataTable categoryList=get_category_child_list(channel,0)%>
                            <%foreach(DataRow cdr in categoryList.Rows)%>
                            <%csharp%>
                            if(cdr["title"].Equals("获取更多")){
                              continue;
                            }
                            <%/csharp%> 
                            <%set DataTable bcategoryList=get_category_child_list(channel,{strtoint({cdr[id]})})%>
                            
                            <li>
                                <%if(string.IsNullOrEmpty({cdr[link_url]}))%>
                                <%if(bcategoryList.Rows.Count==0)%>
                                <a href="<%linkurl("help_list",{cdr[id]})%>">
                                <%else%>
                                <a href="#">
                                <%/if%>
                                <%else%>
                                <a href="{cdr[link_url]}" target="_blank">
                                <%/if%>
                                    <span class="nav-label">{cdr[title]}</span>
                                </a>
                                <%if(bcategoryList.Rows.Count>0)%>
                                <ul class="nav nav-second-level">
                                    <%foreach(DataRow dr in bcategoryList.Rows)%>
                                        <li>
                                            <%if(string.IsNullOrEmpty({dr[link_url]}))%>
                                            <a class="J_menuItem" href="{dr[link_url]}">{dr[title]}</a>
                                            <%else%>
                                            <a class="J_menuItem" href="<%linkurl("resource_list",{dr[id]})%>">{dr[title]}</a>
                                            <%/if%>
                                        </li>
                                    <%/foreach%>
                                </ul>
                                <%/if%>
                            </li>
                            <%/foreach%>
                        </ul>
                    </div>
                </nav>
            </div>
            <div class="col-sm-9 zk_right">
                <ol class="breadcrumb">
                    <li><a href="<%linkurl("index")%>">首页</a></li>
                    <li class="active">帮助</li>
                    <li class="active">{category_title}</li>
                </ol>
                <!--内容体片段++++++++++++++++++++++	+++++++++++++++++++++++++++++++++++++++++++++开始-->
                <%set DataTable contentList = get_article_list(channel, category_id, pagesize, page, "status=0", out totalcount, out pagelist, "resource_list", category_id, "__id__")%>
                <%if(contentList!=null&&contentList.Rows.Count>0)%>
                    <%if(contentList.Rows.Count==1)%>
                    <%foreach(DataRow dr in contentList.Rows)%>
                <DIV id=page-content2 class="grid_8 alpha mt20">
                    <P align=center>
                        <STRONG><H2 id=page-title class=inkline>{dr[title]}</H2></STRONG>
                    </P>
                    <br />
                    <br />
                    <DIV id=content-content class=clear-block>
                        <!--<LINK rel=stylesheet type=text/css href="http://202.204.214.131/themes/hiroshige/css/ptable.css">
                            <LINK rel=stylesheet type=text/css href="http://202.204.214.131/themes/hiroshige/css/alink.css">-->
                        <DIV id=node-103 class="node  node-page ">
                            <DIV class=content>
                                {dr[content]}
                            </DIV>
                            <DIV class=clear></DIV>
                        </DIV>
                    </DIV>
                </DIV>
                <%/foreach%>
                    <%else%>
                    这里有多篇内容，需要展示列表
                    <%/if%>
                <%else%>
                <DIV id=page-content2 class="grid_8 alpha mt20">
                    <P align=center>
                        <STRONG><H2 id=page-title class=inkline>暂无内容</H2></STRONG>
                    </P>
                </DIV>
                <%/if%>
                 
                <!--分页片段+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++开始-->
                <!--分页片段+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++结束-->
                <!--内容体片段+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++结束-->
            </div>
        </div>
    </div>
    <%template src="_footer.html"%>
    <script src="<%templateskin%>/lib/jquery.min.js"></script>
    <script src="<%templateskin%>/lib/bootstrap/js/bootstrap.min.js"></script>
    <script src="<%templateskin%>/lib/metisMenu/jquery.metisMenu.js"></script>
    <script src="<%templateskin%>/lib/slimscroll/jquery.slimscroll.min.js"></script>
    <script type="text/javascript">
    $(document).ready(function() {


        $("#side-menu").metisMenu();


        $(".sidebar-collapse").slimScroll({
            height: "100%",
            railOpacity: .9,
            alwaysVisible: !1
        });


    });
    </script>
</body>

</html>